﻿// =================================================================== 
// 项目说明
//====================================================================
// 文件： ERP_DemandPlan.cs
// 创建时间：2016/11/29
// 负责人：
// ===================================================================
using System;

//注意：该文件自动生成，一般请不要手工修改。

namespace CRMMis.Model
{
	/// <summary>
	///要货计划表(ERP_DemandPlan)数据实体
	/// </summary>
	[Serializable]
	public class ERP_DemandPlan
	{
		#region 变量定义
		
		///<summary>
		///要货计划id
		///</summary>
		private int _demandPlanID;
		
		///<summary>
		///要货计划编号
		///</summary>
		private string _demandPlanNo = String.Empty;
		
		///<summary>
		///申请库房
		///</summary>
		private int _deptIndex;
		
		///<summary>
		///制定人
		///</summary>
		private string _creater = String.Empty;
		
		///<summary>
		///制定时间
		///</summary>
		private string _createTime = String.Empty;
		
		///<summary>
		///审核人
		///</summary>
		private string _checkUser = String.Empty;
		
		///<summary>
		///审核时间
		///</summary>
		private string _checkDate = String.Empty;
		
		///<summary>
		///0,保存;1,已发送;2以生成要货单
		///</summary>
		private int _planState;
		
		///<summary>
		///备注
		///</summary>
		private string _remark = String.Empty;
		#endregion
		
		#region 构造函数

		///<summary>
		///要货计划表的构造函数，默认值通过数据库的default取得
		///</summary>
		public ERP_DemandPlan()
		{
 
		}
		///<summary>
		///要货计划表
		///</summary>
		public ERP_DemandPlan
		(
			int demandPlanID,
			string demandPlanNo,
			int deptIndex,
			string creater,
			string createTime,
			string checkUser,
			string checkDate,
			int planState,
			string remark
		)
		{
			_demandPlanID = demandPlanID;
			_demandPlanNo = demandPlanNo;
			_deptIndex    = deptIndex;
			_creater      = creater;
			_createTime   = createTime;
			_checkUser    = checkUser;
			_checkDate    = checkDate;
			_planState    = planState;
			_remark       = remark;
			
		}
		
		

		#endregion
		
		#region 公共属性

		
		
		///<summary>
		///要货计划id
		///</summary>
		public int DemandPlanID
		{
			get {return _demandPlanID;}
			set {_demandPlanID = value;}
		}

		
		///<summary>
		///要货计划编号
		///</summary>
		public string DemandPlanNo
		{
			get {return _demandPlanNo;}
			set {_demandPlanNo = value;}
		}

		
		///<summary>
		///申请库房
		///</summary>
		public int DeptIndex
		{
			get {return _deptIndex;}
			set {_deptIndex = value;}
		}

		
		///<summary>
		///制定人
		///</summary>
		public string Creater
		{
			get {return _creater;}
			set {_creater = value;}
		}

		
		///<summary>
		///制定时间
		///</summary>
		public string CreateTime
		{
			get {return _createTime;}
			set {_createTime = value;}
		}

		
		///<summary>
		///审核人
		///</summary>
		public string CheckUser
		{
			get {return _checkUser;}
			set {_checkUser = value;}
		}

		
		///<summary>
		///审核时间
		///</summary>
		public string CheckDate
		{
			get {return _checkDate;}
			set {_checkDate = value;}
		}

		
		///<summary>
		///0,保存;1,已发送;2以生成要货单
		///</summary>
		public int PlanState
		{
			get {return _planState;}
			set {_planState = value;}
		}

		
		///<summary>
		///备注
		///</summary>
		public string Remark
		{
			get {return _remark;}
			set {_remark = value;}
		}
	
		#endregion
		
	}
}